package crp.core.workflow.domain.services;

import crp.core.workflow.domain.events.WorkflowInstanceEnded;
import crp.core.workflow.domain.events.WorkflowInstanceStarted;
import crp.core.workflow.domain.events.WorkflowTaskEnded;
import crp.core.workflow.domain.events.WorkflowTaskStarted;

public interface WorkflowEventHandler {
    default void onEvent(WorkflowInstanceStarted event) {

    }

    default void onEvent(WorkflowInstanceEnded event) {

    }

    default void onEvent(WorkflowTaskStarted event) {

    }

    default void onEvent(WorkflowTaskEnded event) {

    }
}
